import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
export default new Vuex.Store({
	state: {
		//计算结果列表
		resultList: [],
	},
	mutations: {
		setResultList(state, data) {
			state.resultList = data;
		},
	},
	actions: {
		setResultListAction({
			commit
		}, data) {
			commit('setResultList', data);
		},
	}
})
